package org.jeecg.modules.consumptionLpg.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.consumptionLpg.entity.ConsumptionLpg;
import org.jeecg.modules.consumptionLpg.entity.LpgSelectDTO;

import java.util.List;
import java.util.Map;

/**
 * @Description: LPG能耗
 * @Author: jeecg-boot
 * @Date:   2023-06-20
 * @Version: V1.0
 */
public interface IConsumptionLpgService extends IService<ConsumptionLpg> {
    List<ConsumptionLpg> selectByTimeAndDept(LpgSelectDTO selectDTO);

    List<Map<String,Object>> getAllGroupByDept();

    List<Map<String, Object>> getDayConsumption(String year, String month, String day);
}
